home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
compuserve-file-archive
/
23 Geos Applications
/
GETPIT.ARK
/
UNPIT.DOC
< prev
Wrap
Internet Message Format
|
1987-05-28
|
2KB
From: hplabs!sdcrdcf!oberon!brand!weber (Allan G. Weber)
Newsgroups: net.sources.mac
Subject: Unpit - Packit file unpacking program
Date: 26 Mar 86 16:52:28 GMT
Organization: U. of So. Calif., Los Angeles
This is a Unix program for unpacking Mac Packit files into the component
files. See message in net.micro.mac for more info.
Allan Weber
Arpa: Weber%Brand@USC-ECL
Usenet: ...sdcrdcf!oberon!brand!weber
-------------------------------------------------------------------------------
28-Sep-87
Modified for CP/M by Bob Presswood. Note that the first 128
bytes of the .PIT file are ignored. This algorithm is not functional
otherwise. The purpose of this 128 byte block is the provision of
information to the Mac operating system which is of course not
pertinent to CP/M. Several minor changes were needed. The one major
change was the addition of a recursive routine to check for existing
files to avoid overwriting. This overwriting can sometimes be the
result of moving files from an operating system which permits long
file names to one like CP/M where names are quite short.
Usage: unpit [-adrc] packit-file.pit
where -a opts to extract both data and resource forks, with file
info (.dat, .rsc, .inf - suffixed files)
-d extracts only data forks (.dat)
-r extracts only resource forks (.rsc)
-c extracts only data, with CP/M CR-LF pairs in place of
Mac CR's (Files are not suffixed, except when the Mac
file names are.)